<?php /* Smarty version 2.6.20, created on 2009-08-17 13:34:01
         compiled from E:%5Cprogram%5CZdevelop%5CApp%5CView%5Cadmin%5CaddCat.htm */ ?>
﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $this->_tpl_vars['adminTitle']; ?>
</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="Generator" content="EditPlus" />
<meta name="Author" content="" />
<meta name="Keywords" content="" />
<link rel="stylesheet" href="/Css/admin/global.css" type="text/css" />
<script language="javascript" src="/Js/admin/function.js"></script>
</head>

<body>
<div class="main-box">
	<div class="head-dark-box">
		<?php echo $this->_tpl_vars['varList']['title']; ?>

	</div>
	<div class="body-box tip-msg">
		提示: 带 <img src="/Css/images/star.gif" alt="*" /> 的项目为必填信息.
	</div>
	<form method="post" action="/adminm/addCating" class="white-box">
		<table class="alt-table" cellspacing="0">
			<tr class="dark-row">
				<td class="width-20percent">上级分类</td>
				<td><?php echo $this->_tpl_vars['varList']['parentNode']; ?>
</td>
			</tr>
			<tr class="light-row">
				<td class="require-field">分类标题</td>
				<td><input type="text" class="text-box" name="catTitle" size="20" value="<?php echo $this->_tpl_vars['varList']['catTitle']; ?>
"/></td>
			</tr>
			<tr class="dark-row">
				<td>分类描述</td>
				<td>
					<textarea class="text-box" name="description" cols="30" rows="5"><?php echo $this->_tpl_vars['varList']['description']; ?>
</textarea>
				</td>
			</tr>
			<tr class="light-row">
				<td>分类图片</td>
				<td>
					<img src="<?php echo $this->_tpl_vars['varList']['imgName']; ?>
" alt="分类图片" class="thumbnail" id="selectedThumb" />
					<input type="button" class="button" value="从相册中选择" onclick="showThumbWindow()"/>
					<input type="hidden" name="catImage" id="imgName" value="<?php echo $this->_tpl_vars['varList']['imgName']; ?>
" />
				</td>
			</tr>
			<tr class="dark-row">
				<td>
					<input type="hidden" name="absPath" value="<?php echo $this->_tpl_vars['varList']['absPath']; ?>
" />
				</td>
				<td>
					<input type="submit" class="button" value="<?php echo $this->_tpl_vars['varList']['buttonValue']; ?>
" />&nbsp;&nbsp;
					<input type="reset" class="button" value="重 设" />
				</td>
			</tr>
		</table>
	</form>
</div>
<div class="main-box">
	<div class="foot-sql">
		Query Times: <?php echo $this->_tpl_vars['queryTime']; ?>
  Execute Time: <?php echo $this->_tpl_vars['executeTime']; ?>
 ms
	</div>
</div>
<?php echo '
<script>
//显示选择文章缩略图的窗口
function showThumbWindow()
{
	var feature = "width=500,height=520px,menubar=no,location=no,status=yes,toolbar=no,resizable=no";
	window.open("listImage.php?action=selectThumb", "",feature);
}
</script>
'; ?>

</body>
</html>